package practice04;

public class Student extends Person{
    private int klass;
    Person person = new Person();
    public int getKlass() {
        return klass;
    }

    public void setKlass(int klass) {
        this.klass = klass;
    }

    public Student(String name, int age, int klass) {
        super(name, age);
        this.klass = klass;
    }
    public String introduce(){

        return person.basicIntroduce(this.getName(),this.getAge())+"I am a Student. I am at Class "+klass+".";
    }
}
